package com.xxin.pojo.entity;

import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
    @author 小欣
    @version 1.0
    @since 1.8
*/

/**
 * 医嘱表
 */
public class MedicalAdvice implements Serializable {
	
	private Long id;
	
	@Override
	public String toString() {
		return "MedicalAdvice{" +
				       "id=" + id +
				       ", registryId=" + registryId +
				       ", userId=" + userId +
				       ", chiefComplaint='" + chiefComplaint + '\'' +
				       ", diagnosis='" + diagnosis + '\'' +
				       ", createdTime=" + createdTime +
				       ", updatedTime=" + updatedTime +
				       '}';
	}
	
	/**
	 * 挂号单表主键ID
	 */
	private Long registryId;
	
	/**
	 * 就诊医师用户ID
	 */
	private Long userId;
	
	/**
	 * 病人主诉
	 */
	private String chiefComplaint;
	
	/**
	 * 诊断情况
	 */
	private String diagnosis;
	
	/**
	 * 创建时间
	 */
	private LocalDateTime createdTime;
	
	/**
	 * 修改时间
	 */
	private LocalDateTime updatedTime;
	
	private static final long serialVersionUID = 1L;
	
	public Long getId() {
		return id;
	}
	
	public void setId(Long id) {
		this.id = id;
	}
	
	public Long getRegistryId() {
		return registryId;
	}
	
	public void setRegistryId(Long registryId) {
		this.registryId = registryId;
	}
	
	public Long getUserId() {
		return userId;
	}
	
	public void setUserId(Long userId) {
		this.userId = userId;
	}
	
	public String getChiefComplaint() {
		return chiefComplaint;
	}
	
	public void setChiefComplaint(String chiefComplaint) {
		this.chiefComplaint = chiefComplaint;
	}
	
	public String getDiagnosis() {
		return diagnosis;
	}
	
	public void setDiagnosis(String diagnosis) {
		this.diagnosis = diagnosis;
	}
	
	public LocalDateTime getCreatedTime() {
		return createdTime;
	}
	
	public void setCreatedTime(LocalDateTime createdTime) {
		this.createdTime = createdTime;
	}
	
	public LocalDateTime getUpdatedTime() {
		return updatedTime;
	}
	
	public void setUpdatedTime(LocalDateTime updatedTime) {
		this.updatedTime = updatedTime;
	}
}